<tagLib name="html" />
<include file="Public:header" />

<div class="container" id="cpcontainer">
    <h3>{$Think.lang.optimize.title}</h3>
    <form name="cpform" method="post" action="__URL__/optimize">
    <input type="hidden" name="op" value="save" />
    <table class="tb tb2">
        <tbody id="seo">
        <th class="partition" colspan="2">{$Think.lang.optimize.seo}</th>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.url_format_type}</td></tr>
        <tr>
            <td class="vtop rowform" colspan="2">
            	<ul class="nofloat" onmouseover="altStyle(this);">
	                <volist name="urlFormatTypeRadios" id="vo">
	                <li><input type="radio" name="url_format_type" value="{$key}" <eq name="key" value="$urlFormatTypeChecked">checked</eq> /> {$vo} </li>
	                </volist>
                </ul>
            </td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.url_word_seperator}</td></tr>
        <tr>
            <td class="vtop rowform" colspan="2">
                <html:radio name="url_word_seperator" radios="urlWordSeperatorRadios" checked="urlWordSeperatorChecked" separator=" " />
            </td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.site_slogan}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="site_slogan" value="{$rs.site_slogan}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.optimize.site_slogan_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.site_keywords}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="site_keywords" value="{$rs.site_keywords}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.optimize.site_keywords_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.site_description}</td></tr>
        <tr>
            <td class="vtop rowform"><textarea name="site_description" rows="6" cols="50" onkeyup="textareasize(this)" class="tarea">{$rs.site_description}</textarea></td>
            <td class="vtop tips2">{$Think.lang.optimize.site_decription_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$think.lang.optimize.site_head_others}</td></tr>
        <tr>
            <td class="vtop rowform"><textarea name="site_head_others" rows="6" cols="50" onkeyup="textareasize(this)" class="tarea">{$rs.site_head_others}</textarea></td>
            <td class="vtop tips2">{$Think.lang.optimize.site_head_others_explain}</td>
        </tr>
        </tbody>

        <tbody id="server">
        <th class="partition" colspan="2">{$Think.lang.optimize.server_side}</th>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.gzip_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="gzip_enable" radios="gzipRadios" checked="gzipChecked" separator=" " />
            </td>
            <td class="vtop tips2">{$Think.lang.optimize.gzip_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.lazy_update_enable}</td></tr>
        <tr>
            <td class="vtop rowform">
                <html:radio name="lazy_update_enable" radios="lazyUpdateRadios" checked="lazyUpdateChecked" separator=" " />
            </td>
            <td class="vtop tips2">{$Think.lang.optimize.lazy_update_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.home_page_expiration}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="cache_home_page_expiration" value="{$rs.cache_home_page_expiration}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.optimize.home_page_expiration_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.question_page_expiration}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="cache_question_page_expiration" value="{$rs.cache_question_page_expiration}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.optimize.question_page_expiration_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.load_limit}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="load_limit" value="{$rs.load_limit}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.optimize.load_limit_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.max_online_users}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="max_online_users" value="{$rs.max_online_users}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.optimize.max_online_users_explain}</td>
        </tr>
        <tr class="nobg"><td colspan="2" class="td27">{$Think.lang.optimize.online_hold_time}</td></tr>
        <tr>
            <td class="vtop rowform"><input name="online_hold_time" value="{$rs.online_hold_time}" type="text" class="txt"  /></td>
            <td class="vtop tips2">{$Think.lang.optimize.online_hold_time_explain}</td>
        </tr>
        </tbody>

        <tr class="nobg">
            <td colspan="15"><div class="fixsel"><input type="submit" class="btn" name="submit" value="{$Think.lang.submit}"></div></td>
        </tr>
    </table>
    </form>
</div>

<include file="Public:footer" />
